#@layout()
#define main()
<h1>进货付款单(NC付款单)&nbsp;&nbsp;
</h1>


<form action="/jhfkd" method="get">
<label for="startdate">时间范围：</label>
<input class="text" type="" name="startdate" id="start-calendar">~
<input class="text" type="" name="enddate" id="end-calendar">
<input class="submit" type="submit" name="submit" value="搜索">
</form>

<script type="text/javascript" src="/assets/dist/zane-calendar.min.js"></script>
<script type="text/javascript">
var startdate = "#(startdate)";
var enddate = "#(enddate)";
#[[
	zaneDate({
		elem:'#start-calendar',
		format:'yyyy-MM-dd HH:mm:ss',
		begintime:startdate,
		showtime:true,
		zindex:500
	})
	zaneDate({
		elem:'#end-calendar',
		format:'yyyy-MM-dd HH:mm:ss',
		begintime:enddate,
		showtime:true,
		zindex:500
	})
]]#
$(function(){
	$(":checkbox[name='DJBH']").click(function(){
		console.log(11122334);
	});
	$(":checkbox[name='ALL']").click(function(){
		console.log(222333);
	});
});
</script>
<div class="table_box">
	<table class="list">
		<tbody>
			<tr>
				<th width="4%" style="text-align:center;vertical-align: middle;"><input style="zoom: 200%" type='checkbox' value='1' name='ALL' /></th>
				<th width="4%">单据编号</th>
				<th width="35%">日期</th>
				<th width="35%">供应商代码</th>
				<th width="35%">供应商名称</th>
				<th width="35%">采购</th>
				<th width="35%">操作</th>
			</tr>
			
			#for(x : jhfkdPage.getList())
			<tr>
				<td style="text-align:center;vertical-align: middle;"><input style="zoom: 200%" type='checkbox' value='#(x.DJBH)' name='DJBH' /></td>
				<td style="text-align:left;">#(x.DJBH)</td>
				<td style="text-align:left;">#(x.RQ)</td>
				<td style="text-align:left;">
					&nbsp;&nbsp;<a href="/jhfkd/syncupdate/#(x.DJBH)">同步更新</a>
				</td>
			</tr>
			#end
		</tbody>
	</table>
	#@paginate(jhfkdPage.pageNumber, jhfkdPage.totalPage, "/jhfkd/")
</div>
#end